/**
 * @Project : ProgrammingExercises
 * @Package : Leetcode
 * @File : Q2546.java
 * @Author : WangRuoyu
 * @Date 2023/1/30 9:42
 */

package leetcode;

public class Q2546 {
    public boolean makeStringsEqual(String s, String target) {
        return s.contains("1") == target.contains("1");
    }

    public static void main(String[] args) {
        Q2546 sl = new Q2546();
        String s = "1010";
        String target = "0110";
        System.out.println(sl.makeStringsEqual(s, target));
    }
}